package com.jzl.swing.rowmapper.impl;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.jzl.swing.entity.BillReport;
import com.jzl.swing.rowmapper.RowMapper;

public class BillReportRowMapper implements RowMapper{

	@Override
	public Object getObjectMapper(ResultSet rSet) throws SQLException {
		BillReport billReport = new BillReport();
		billReport.setBill_price(rSet.getString("bill_price"));
		billReport.setBill_product_name(rSet.getString("bill_product_name"));
		billReport.setBill_product_number(rSet.getString("bill_product_number"));
		billReport.setBill_supplierName(rSet.getString("bill_supplierName"));
		
		return billReport;
	}

}
